package com.yitong.qicenter.app;
import android.app.Application;
import android.content.Context;
public class PosApplication extends Application{
    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
    }
    private static Context context;//全局上下文

    //获取全局的上下文
    public static Context getAppContext() {
        return context;
    }


}
